Carbon


SetPortBits

Header: Quickdraw.h Carbon status: Supported

Sets the bitmap for the current basic graphics port.

void SetPortBits (
    const BitMap *bm
);
bm

A pointer to the BitMap structure to set for the current graphics port. Be sure to prepare all fields of the BitMap structure before you call SetPortBits.

DISCUSSION

You should never need to use this function. This function, created for early versions of QuickDraw, allows you to perform all normal drawing and calculations on a buffer other than the screen—for example, copying a small offscreen image onto the screen with the CopyBits function. However, instead of using SetPortBits, you should use the more powerful offscreen graphics capabilities.

AVAILABILITY

Supported in Carbon. Available in CarbonLib 1.0 and later when InterfaceLib 7.1 or later is installed. Exported by CarbonLib 1.0 and later and by InterfaceLib 7.1 and later.


© 2000 Apple Computer, Inc. — (Last Updated 4/14/2000)